﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using BadmintonApp.Entity;

namespace BadmintonApp.BLL.Interface
{
    public interface IActivityBLL
    {
        /// <summary>
        /// Add an Activity
        /// </summary>
        /// <param name="activityInfo">Activity Model</param>
        void InsertActivity(TActivityInfo activityInfo);

        /// <summary>
        /// Update an Activity
        /// </summary>
        /// <param name="activityInfo">Activity Model</param>
        void UpdateActivity(TActivityInfo activityInfo);

        /// <summary>
        /// Delete an Activity
        /// </summary>
        /// <param name="id">Activity ID</param>
        void DeleteActivity(int id);

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        DataSet GetAllActivity();
    }
}
